package com.springBoot.springBootSysCore.modules.entity.system;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.springBoot.springBootSysCore.common.comment.annotation.MyComment;
import com.springBoot.springBootSysCore.common.persistence.DataEntity;

/**
 * 系统参数
 * @author hx 2017年10月16日下午3:55:13
 *
 */
@Table(name="SYS_CODE")
@Entity
@MyComment("系统参数表")
@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler","fieldHandler","createBy"})
public class SysCode extends DataEntity<SysCode>{

	private static final long serialVersionUID = 1285872818579549147L;
	
	private String type;	// 类型
	private String codeValue;// 参数值
	private String codeName;//编码名称

	private Integer state;//启用状态
	private String isOnly;//是否唯一
	private String isDel;//是否可删
	public String getIsOnly() {
		return isOnly;
	}
	public void setIsOnly(String isOnly) {
		this.isOnly = isOnly;
	}
	public String getIsDel() {
		return isDel;
	}
	public void setIsDel(String isDel) {
		this.isDel = isDel;
	}

	public SysCode() {
		super();
	}
	
	public SysCode(String id) {
		super(id);
	}
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getCodeName() {
		return codeName;
	}

	public void setCodeName(String codeName) {
		this.codeName = codeName;
	}

	public String getCodeValue() {
		return codeValue;
	}

	public void setCodeValue(String codeValue) {
		this.codeValue = codeValue;
	}
	
	
}
